package com.wanmait.baohan.pojo;

import java.io.Serializable;
import java.util.Date;

public class BookingCarApplication implements Serializable {
    private Integer id;

    /**
     * 申请编号
     */
    private String numbering;

    /**
     * 申请人
     */
    private Staff staff;

    /**
     * 申请时间
     */
    private Date addTime;

    /**
     * 开始时间
     */
    private Date startTime;

    /**
     * 结束时间
     */
    private Date endTime;

    /**
     * 乘客人数
     */
    private Integer passengerNumber;

    /**
     * 备注
     */
    private String remark;

    /**
     * 出发地点
     */
    private String startLocation;

    /**
     * 目的地
     */
    private String endLocation;

    /**
     * 申请派车项目类型
     */
    private Integer applicationType;

    /**
     * 申请id
     */
    private Integer applicationId;

    /**
     * 0不通过 1申请中 2已完成
     */
    private Integer state;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumbering() {
        return numbering;
    }

    public void setNumbering(String numbering) {
        this.numbering = numbering;
    }


    public Staff getStaff() {
        return staff;
    }

    public void setStaff(Staff staff) {
        this.staff = staff;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getPassengerNumber() {
        return passengerNumber;
    }

    public void setPassengerNumber(Integer passengerNumber) {
        this.passengerNumber = passengerNumber;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getStartLocation() {
        return startLocation;
    }

    public void setStartLocation(String startLocation) {
        this.startLocation = startLocation;
    }

    public String getEndLocation() {
        return endLocation;
    }

    public void setEndLocation(String endLocation) {
        this.endLocation = endLocation;
    }

    public Integer getApplicationType() {
        return applicationType;
    }

    public void setApplicationType(Integer applicationType) {
        this.applicationType = applicationType;
    }

    public Integer getApplicationId() {
        return applicationId;
    }

    public void setApplicationId(Integer applicationId) {
        this.applicationId = applicationId;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", numbering=").append(numbering);
        sb.append(", staffId=").append(staff);
        sb.append(", addTime=").append(addTime);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", passengerNumber=").append(passengerNumber);
        sb.append(", remark=").append(remark);
        sb.append(", startLocation=").append(startLocation);
        sb.append(", endLocation=").append(endLocation);
        sb.append(", applicationType=").append(applicationType);
        sb.append(", applicationId=").append(applicationId);
        sb.append(", state=").append(state);
        sb.append("]");
        return sb.toString();
    }
}